package edu.uni.userBaseInfo1.service.impl;

import edu.uni.userBaseInfo1.bean.Field;
import edu.uni.userBaseInfo1.mapper.FieldMapper;
import edu.uni.userBaseInfo1.service.FieldService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class FieldServiceImpl implements FieldService {
    @Autowired
    private FieldMapper fieldMapper;
    @Override
    public List<Field> selectRoom(long areaId) {
        return fieldMapper.selectRoom(areaId);
    }
}
